package com.zty.service;

import com.zty.DO.FileChunkMeta;
import com.zty.DO.MetaFile;
import com.zty.DTO.CompleteChunkFileDTO;
import com.zty.DTO.FileMeta;
import com.zty.VO.BucketVO;

import java.util.List;

/**
 * @Author ZTY
 * @Description
 * @Date 22:50 2023-12-23
 **/

public interface MetaService {
    MetaFile generate(FileMeta fileMeta);

    void completeChunk(CompleteChunkFileDTO completeChunkFileDTO);

    MetaFile meta(String bucketName, String filename);

    List<BucketVO> files();

    void delete(String bucketName, String filename);

    List<FileChunkMeta> chunkInfo(String bucketName, String filename, Integer chunkNo);
}
